<template>
  <div style="margin-bottom: 16px;">
    <el-breadcrumb separator="/">
      <el-breadcrumb-item :to="{ path: '/news/index' }">首页</el-breadcrumb-item>
      <el-breadcrumb-item v-for="(item, index) in items" :key="index">{{ item }}</el-breadcrumb-item>
    </el-breadcrumb>
  </div>
</template>

<script>
export default {
  name: 'my-breadcrumb',
  data () {
    return {}
  },
  methods: {},
  props: ['items'],
  created () {
  }
}
</script>

<style scoped>

</style>
